<!DOCTYPE html>
<html lang="zh_CN" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
	<base th:href="@{/}">
	<meta charset="utf-8">
	<title></title>
	<meta name="renderer" content="webkit">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="format-detection" content="telephone=no">
	<link rel="stylesheet" href="static/layui/css/layui.css" media="all" />
	<script type="text/javascript" src="static/plugin/jquery/jquery-1.4.4.min.js"></script>
	<script type="text/javascript" src="static/plugin/jqprint/jquery.jqprint-0.3.js"></script>
	<script type="text/javascript" src="static/plugin/jquery/jquery.textfill.min.js"></script>
	<script type="text/javascript" src="static/layui/layui.js"></script>
	<script type="text/javascript" src="static/js/user/index.js"></script>
	<script type="text/javascript" src="static/js/common/reportTemplet.js"></script>
	<style type="text/css">
		.layui-table,.layui-table-view{
			margin: 0;
		}
		.layui-fluid{
			padding: 0 8px;
		}
		.layui-form-item {
		    margin: 0;
		}
		.layui-form-label {
		    white-space: nowrap;
		}
	</style>
</head>
<body class="layui-fluid">
	<div class="layui-row" style="margin-left: 10px;">
		<div id="findMsg" >查询条件：</div>	
	</div>
	<!-- <div class="layui-row" style="margin-top: 5px;">
	    <div class="layui-col-md12">
        	<div class="layui-collapse" lay-filter="search">
				<div class="layui-colla-item">
					<h2 class="layui-colla-title">搜索条件</h2>
				    <div class="layui-colla-content layui-show">
				    	<form class="layui-form">
				       		<div class="layui-form-item">
								<div class="layui-inline">
					   				<label class="layui-form-label">用户</label>
					   				<div class="layui-input-inline">
					     				<input type="text" id="userCode" placeholder="请输入" class="layui-input">
					   				</div>
					   				<a class="layui-btn layui-btn-sm layui-btn-normal" id="search"><i class="layui-icon">&#xe615;</i>查询</a>
					   				<a class="layui-btn layui-btn-sm layui-btn-normal" id="print"><i class="layui-icon">&#xe615;</i>打印</a>
					   			</div>
							</div>
			   			</form>
				    </div>
				</div>
           	</div>
	    </div> 
	</div>-->
	<div class="layui-row" style="margin-top: 5px;" id="printDiv">
	    <div class="layui-col-md12">
			<table id="table" class="layui-table" lay-filter="table"></table>
        </div>
	</div>
	<div class="layui-row" style="margin-top: 5px;" id="printDiv">
	    <div class="layui-col-md12">
			<div id="displayarea"></div>
        </div>
	</div>
	<script type="text/html" id="department">
		<select lay-search>
			<option value=""></option>
		   	<option th:each="c:${departmentList}" th:value="${c.id}" th:text="${c.deptName}"></option>
		</select>
	</script>
	<script type="text/html" id="role">
		<select lay-search>
			<option value=""></option>
		   	<option th:each="c:${roleList}" th:value="${c.id}" th:text="${c.roleName}"></option>
		</select>
	</script>
	<script type="text/html" id="tableToolbar">
		<div class="layui-inline" shiro:hasPermission="btn:user_add">
			<button class="layui-btn layui-btn-sm" lay-event="add"><i class="layui-icon">&#xe654;</i>添加</button>
		</div>
		<div class="layui-inline" shiro:hasPermission="btn:user_edit">
			<button class="layui-btn layui-btn-sm" lay-event="upd"><i class="layui-icon">&#xe642;</i>修改</button>
		</div>
		<div class="layui-inline" shiro:hasPermission="btn:user_delete">
			<button class="layui-btn layui-btn-sm" lay-event="del"><i class="layui-icon">&#xe640;</i>删除</button>
		</div>
		<div class="layui-inline" shiro:hasPermission="btn:user_delete">
			<button class="layui-btn layui-btn-sm" lay-event="sign"><i class="layui-icon">&#xe640;</i>签名</button>
		</div>
		<div class="layui-inline">
			<button class="layui-btn layui-btn-sm" lay-event="print"><i class="layui-icon">&#xe615;</i>打印</button>
		</div>
		<button type="button" lay-event="find"
			class="layui-btn layui-btn-primary layui-btn-sm">
			<i class="layui-icon">&#xe615;</i> 查询
		</button>
	</script>
</body>
</html>